<div class="flex-style">
  <input [(ngModel)]="todo" type="text" placeholder="add todo" class="flex-item-input"  />
  <button type="submit" class="flex-item-btn" (click)="addTodo()">添加</button>
</div>
